import React from "react";
import "antd/dist/reset.css";
// import RouterView from "./router/index";
import { Link } from "react-router-dom";
import { SearchOutlined } from "@ant-design/icons";
import { Button, Input } from "antd";

// 头部导航
function Jump(){
    return <div>
        <header className="bigbox">
        <img src="../public/logo.57933597.png" alt="" />
        <div className="iptbox">
          <Input className="ipt" placeholder="请输入想要的商品" />
          <Button className="btn"  icon={<SearchOutlined />}>
            搜索
          </Button>
        </div>

        <div className="routerbox" >
          <Link className="homebox" to="/home">
            首页
          </Link>
          <Link className="homebox" to="/login">
            登录
          </Link>
          <Link className="homebox" to="/register">
            注册
          </Link>
        </div>
      </header>

    </div>
}
export default Jump